package de.mohlendo.brainfuck
{
  import flash.events.Event;

  public class BreakpointEvent extends Event
  {
    public static const BREAKPOINT:String = "breakpoint";
    
    private var _index:int;
    
    public function BreakpointEvent(type:String,index:int, bubbles:Boolean=false, cancelable:Boolean=false)
    {
      super(type, bubbles, cancelable);
      this._index = index;
    }
    
    public function get index():int {
      return _index;
    }
    
  }
}